package com.huizu.project.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huizu.common.annotation.Excel;
import com.huizu.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 劳动关联用户对象 pro_ld_user
 * 
 * @author zhangmx
 * @date 2024-05-10
 */
public class ProLdUser
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 父ID */
    @Excel(name = "父ID")
    private String pId;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String stName;

    private String xxName;

    private String xyName;

    private String zjName;

    private String njName;

    private String bjName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setpId(String pId) 
    {
        this.pId = pId;
    }

    public String getpId() 
    {
        return pId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStName() {
        return stName;
    }

    public void setStName(String stName) {
        this.stName = stName;
    }

    public String getXxName() {
        return xxName;
    }

    public void setXxName(String xxName) {
        this.xxName = xxName;
    }

    public String getXyName() {
        return xyName;
    }

    public void setXyName(String xyName) {
        this.xyName = xyName;
    }

    public String getZjName() {
        return zjName;
    }

    public void setZjName(String zjName) {
        this.zjName = zjName;
    }

    public String getNjName() {
        return njName;
    }

    public void setNjName(String njName) {
        this.njName = njName;
    }

    public String getBjName() {
        return bjName;
    }

    public void setBjName(String bjName) {
        this.bjName = bjName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("pId", getpId())
            .append("createTime", getCreateTime())
            .append("type", getType())
            .toString();
    }
}
